<?php



class GenrFundacionMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.GenrFundacionMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('genr_fundacion');
		$tMap->setPhpName('GenrFundacion');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('GENR_FUNDACION_ID', 'GenrFundacionId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('GENFUN_NOMBRE', 'GenfunNombre', 'string', CreoleTypes::VARCHAR, true, 50);

		$tMap->addColumn('GENFUN_DIRECCION', 'GenfunDireccion', 'string', CreoleTypes::VARCHAR, true, 300);

		$tMap->addColumn('GENFUN_TELEFONO', 'GenfunTelefono', 'string', CreoleTypes::VARCHAR, false, 12);

		$tMap->addColumn('GENFUN_RUC', 'GenfunRuc', 'string', CreoleTypes::VARCHAR, false, 14);

		$tMap->addColumn('GENFUN_FAX', 'GenfunFax', 'string', CreoleTypes::VARCHAR, false, 12);

		$tMap->addColumn('GENFUN_REPLEGAL', 'GenfunReplegal', 'string', CreoleTypes::VARCHAR, true, 50);

		$tMap->addColumn('GENFUN_ESTADO', 'GenfunEstado', 'string', CreoleTypes::VARCHAR, true, 1);

	} 
} 